//
//  TableShowImageCellModel.swift
//  CooperSwift
//
//  Created by 计海峰 on 2022/1/17.
//

import UIKit

public class TableShowImageCellModel : NSObject, PublicTableCellConfigProtocol, BindKeyProtocol {
    
    // 默认  TableShowImageConfig
    public var model: Any?
    
    public var showByDefaultWay = true
    
    //  MARK: - 基础实现  TableShowImageConfig
    required public init(_ model: Any?) {
        self.model = model
    }
    
    public func cellCls() -> UITableViewCell.Type {
        return TableShowImageCell.self
    }
    
    public typealias TargetType = UIImageView
    
    // MARK: - 回调
    /// 单次
    public func once(_ showImageView: UIImageView, cell: UITableViewCell) {
       
    }
    
    /// 多次
    public func every(_ showImageView: UIImageView, cell: UITableViewCell) {
        
    }
    
}
